﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using DAO;
using DTO;

namespace BUS
{
    public class UserBUS
    {
        public static bool InsertUser(UserDTO user)
        {
            return UserDAO.InsertUser(user);
        }
        public static bool UpdateUser(UserDTO user)
        {
            return UserDAO.UpdateUser(user);
        }
        public static bool DeleteUser(string userid)
        {
            return UserDAO.DeleteUser(userid);
        }
        public static DataTable GetUser(string userid)
        {
            return UserDAO.GetUser(userid);
        }
        public static DataTable GetUserDuoiQuyen(int priority)
        {
            return UserDAO.GetUserDuoiQuyen(priority);
        }
    }
}
